import request from '@/utils/request'



export function queryData(data) {
  return request({
    url: '/file/file/query',
    method: 'post',
    data
  })
}

export const preview = fileId => {
    return request({
      url: `/file/file/get/${fileId}`,
      method: 'get',
      responseType: 'blob'
    })
  }